package com.aptemo.webetek.client.commands.impl;

import com.aptemo.webetek.client.commands.Action;
import com.aptemo.webetek.client.enums.EnumPaymentType;
import com.aptemo.webetek.shared.PaymentBean;

public class PaymentAction implements Action<PaymentBean>
{

	private String			userId;
	private String			teamId;
	private double			amount;
	private EnumPaymentType	type;

	/**
	 * 
	 */

	protected PaymentAction()
	{
	}

	public PaymentAction(String userId, String teamId, double amount)
	{
		this(userId, teamId, amount, EnumPaymentType.PAYMENT);
	}

	public PaymentAction(String userId, String teamId, double amount, EnumPaymentType type)
	{
		this.userId = userId;
		this.teamId = teamId;
		this.amount = amount;
		this.type = type;
	}

	public String getUserId()
	{
		return userId;
	}

	public double getAmount()
	{
		return amount;
	}

	public void setTeamId(String teamId)
	{
		this.teamId = teamId;
	}

	public String getTeamId()
	{
		return teamId;
	}

	public void setType(EnumPaymentType type)
	{
		this.type = type;
	}

	public EnumPaymentType getType()
	{
		return type;
	}

}
